﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminIndexMaster.master" AutoEventWireup="true" CodeFile="Admin_UpdateShop.aspx.cs" Inherits="Admin_Admin_UpdateShop" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script src="Js/tabpane.js" type="text/javascript"></script>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table class="adminheading" width="100%">                
   <tr>
      <th class="user" align="left" style="height: 52px">会员店铺管理</th>
      <td align="right">
      <div style="width:50px"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="Admin_Shop.aspx">返回</asp:HyperLink></div></td>
   </tr>
</table> 

<table class="nick" cellpadding="1" cellspacing="1">
        <tr><td class="tit" colspan="2">店铺信息</td></tr>
        <tr><td class="ltd" style="text-align:center">定位导航</td>
		<td class="rtd"><a href="#m0">店铺信息</a> | <a href="#m1">店铺页面</a> | <a href="#m2">店铺图片</a> | <a href="#m3">店铺公告</a> | <a href="#m4">店铺介绍</a></td></tr>
</table>

<table class="nick" id="m0">
	<tr><td class="tit" colspan="2">店铺信息</td></tr>
	<tr >
		<td class="ltd">店铺名称：</td>
		<td class="rtd"><asp:TextBox ID="LabShopName" runat="server" Width="350px"/></td>
	</tr>
	<tr>
		<td class="ltd">店长名称：</td>
		<td class="rtd"><asp:TextBox ID="LabU_NickName" style="border:0;" runat="server" Width="200px" ReadOnly="true" /></td>
	</tr>
	<tr>
		 <td class="ltd">店铺分类：</td>
		 <td class="rtd">
			<asp:DropDownList ID="DropShopClass" runat="server" DataTextField="ClassName" DataValueField="ClassID" />
		 </td>
	</tr>              
	<tr>
		<td class="ltd">店铺注册时间：</td>
		<td class="rtd"><asp:TextBox ID="LabShopRegDate" runat="server" ReadOnly="true" />
		   
	</tr>
	<tr>
		<td class="ltd">店铺有效时间：</td>
		<td class="rtd"><asp:TextBox ID="LabCloseDate" runat="server" /></td>
	</tr>
	<tr>
		<td class="ltd">店铺浏览次数：</td>
		<td class="rtd"><asp:TextBox ID="LabShopClick" runat="server" Width="80px" /></td>
	</tr>
	 <tr>
		<td class="ltd">店铺审核状态：</td>
		<td class="rtd">
			<asp:DropDownList ID="DropIdentity" runat="server" >
				<asp:ListItem Value="0">等待审核</asp:ListItem>
				<asp:ListItem Value="1">审核通过</asp:ListItem>
				<asp:ListItem Value="-1">拒绝审核</asp:ListItem>
			</asp:DropDownList>
		</td>
	</tr>
	<tr>
		<td class="ltd">店铺等级：</td>
		<td class="rtd">
		   <asp:DropDownList ID="DrpShopLevel" runat="server" AppendDataBoundItems="true" DataTextField="GroupName" DataValueField="ID" >
				<asp:ListItem Text="未分配" Value="0" />
		   </asp:DropDownList>
		</td>
	</tr>
	<tr>
		<td class="ltd">是否需要交税：</td>
		<td class="rtd">
		   <asp:CheckBox ID="DrpIsTax" runat="server" Text="是" /></td>
	</tr>
	<tr id="TxtTaxTr">
		<td class="ltd">税率：</td>
		<td class="rtd"><asp:TextBox ID="TxtTax" runat="server" Width="40px" /> %
		</td>
	</tr>
	<tr>
		<td class="ltd">上次登录时间：</td>
		<td class="rtd"><asp:TextBox ID="LabLastTimeLogin" runat="server" ReadOnly="true" /></td>
	</tr>
    <tr>
		<td class="ltd">店铺所在地：</td>
		<td class="rtd"><hl:HowaveProvinceCity ID="ProvinceCity" runat="server" EnableViewState="true" /></td>
	</tr>
	<tr>
		<td class="ltd">店铺详细地址：</td>
		<td class="rtd">
			<asp:TextBox ID="LabShopAddress" runat="server"  Width="250px" /></td>
	</tr>
	<tr>
		<td class="ltd">主营项目：</td>
		<td class="rtd"><asp:TextBox ID="LabShopOperatorItem" runat="server" TextMode="MultiLine" Rows="5" Columns="60" /></td>
	</tr>
	<tr>
		<td class="ltd">推荐店铺：</td>
		<td class="rtd">
			<asp:CheckBox ID="CheckRecommendShop" runat="server" Text="是" /></td>
	</tr>
	<tr>
		<td class="ltd">店铺商品数量：</td>
		<td class="rtd">
			<asp:Literal ID="TxtShopProductNums" runat="server" /></td>
	</tr>
</table>

<table class="nick" id="m1">
 	<tr><td class="tit" colspan="2">店铺页面</td></tr>
	<tr>
		<td class="ltd">店铺域名：</td>
		<td class="rtd"><asp:TextBox ID="LabShopUrl" runat="server" Width="250px" /></td>
	</tr>
	<tr>
		<td class="ltd">顶部广告URL：</td>
		<td class="rtd"><asp:TextBox ID="LabShopAdUrl" runat="server" Width="250px" /></td>
	</tr>
	<tr>
		<td class="ltd">店铺购物指南：</td>
		<td class="rtd"><asp:TextBox ID="LabShopHelp" runat="server" TextMode="MultiLine" Rows="5" Columns="60" />
		<asp:Label ID="LabUserID" runat="server" Visible="false" /></td>
	</tr>        
	<tr>
		<td class="ltd">店铺诚信等级：</td>
		<td class="rtd"><asp:TextBox ID="LabCredit" runat="server" Width="80px" /></td>
	</tr>
	<tr>
		<td class="ltd">店铺状态：</td>
		<td class="rtd">
			<asp:DropDownList ID="DropShopStatus" runat="server" >
				<asp:ListItem Value="-1">关闭</asp:ListItem>
				<asp:ListItem Value="0">暂停</asp:ListItem>
				<asp:ListItem Value="1">正常</asp:ListItem>
			</asp:DropDownList>
		 </td>
	</tr>
   <tr >
<td class="ltd">
	<p class="MsoNormal" >
		<span >店铺模板：</span></p>
</td>
<td class="rtd"><asp:DropDownList ID="DropShopTem" runat="server"  AppendDataBoundItems="True">
	<asp:ListItem Value="" Text="使用默认"></asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr >
<td class="ltd">
	<p class="MsoNormal" >
		<span >店铺风格：</span></p>
</td>
<td class="rtd">
	<asp:DropDownList ID="DropShopSkin" runat="server" >
	</asp:DropDownList>
	   </td>
</tr>
 </table>

<table class="nick" id="m2">
	<tr><td class="tit">店铺图片</td></tr>
	<tr>
	  <td><asp:Image ID="ImageShopImage" onerror="this.src='/Images/show_nopic.gif'" runat="server" /></td>
	</tr>
	<tr>
	  <td>
		  <asp:FileUpload ID="FileUpload1" Width="300" runat="server" /></td>
	</tr>
</table>

<table class="nick" id="m3">
 <tr><td class="tit">店铺公告</td></tr>
  <tr>                
	 <td>
	  <asp:TextBox ID="LabShopAnnouncement" runat="server" style="display:none;" />
		 <iframe src="Editor/Editor.aspx?ID=ctl00_ContentPlaceHolder1_LabShopAnnouncement" frameborder="0" width="100%" height="300"></iframe>
		 </td>
  </tr>
</table>

<table class="nick" id="m4">
 <tr><td class="tit">店铺介绍</td></tr>
 <tr>
	<td>
		<asp:TextBox ID="LabShopIntro" runat="server" style="display:none;" />
		<iframe src="Editor/Editor.aspx?ID=ctl00_ContentPlaceHolder1_LabShopIntro" height="300" width="100%" frameborder="0"></iframe>
	</td>
 </tr>
</table>
       
    <div class="div_btm">
	<asp:Button ID="UpdateButton" runat="server" Text="保存修改" OnClick="UpdateButton_Click" />
    <input name="cl" type="button" value="取消返回" onclick="javascript:{history.back()}" />
    </div> 

    <asp:Label ID="LabIdentily" runat="server" ForeColor="White" Width="95px"></asp:Label>
</asp:Content>
